<?php

define('ROOT', dirname(__FILE__) . DIRECTORY_SEPARATOR);
define('APPLICATION', ROOT . 'application' . DIRECTORY_SEPARATOR);
define('WEBROOT', '/shga');

// This is the auto-loader for Composer-dependencies (to load tools into your project).
require ROOT . 'vendor/autoload.php';

$config = require APPLICATION . 'config/config.php';
// load application class
use Mini\core\Application;

// start the application
Application::getInstance()->runApplication($config);
